import request from '../utils/request'

/**
 * 根据id获取该id下的覆盖物数据
 */
export const getOverlaysById = id => {
  return request({
    url:`/area/map?id=${id}`
  })
}

/**
 * 根据城市id获取房源列表
 */
export const getHouseList = id => {
  return request({
    url: `houses?cityId=${id}`
  })
}